package com.settlement.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 入账主体表单对象
 *
 * @author haoxr
 * @since 2022/4/12 11:04
 */
@Schema(description = "入账主体表单对象")
@Data
public class CompanyForm {

    @Schema(description = "入账主体ID")
    private Long id;

    @Schema(description = "入账主体编码")
    @NotBlank(message = "入账主体编码不能为空")
    private String code;

    @Schema(description = "入账主体简称")
    @NotBlank(message = "入账主体简称不能为空")
    private String name;

    @Schema(description = "入账主体全称")
    @NotBlank(message = "入账主体全称不能为空")
    private String fullName;

    @Schema(description = "财务系统核算账簿编码")
    @NotBlank(message = "财务系统核算账簿编码不能为空")
    private String bookCode;

    /**
     * 财务系统核算账簿名称
     */
    @Schema(description = "财务系统核算账簿名称")
    private String bookName;

    /**
     * 财务系统公司编码
     */
    @Schema(description = "财务系统公司编码")
    private String financeCompanyCode;

}
